package com.bai.sm.pojo;

import java.util.List;

/**
 * Created by Admin on 2/16 0016.
 */
public interface Dao<T> {
    void save(T user);
    void update(T user);
    void delete(int id);
    T findById(int id);
    List<T> findAll();

}
